// Copyright (c) 2000 Just Objects B.V. <just@justobjects.nl>
// Distributable under LGPL license. See terms of license at gnu.org.

package nl.justobjects.pushlet.servlet;

import javax.servlet.http.HttpServlet;

import nl.justobjects.pushlet.core.Log;
import nl.justobjects.pushlet.core.EventSourceManager;
import nl.justobjects.pushlet.Version;

/** Called by servlet engine. Starts everything. */
public class MainServlet extends HttpServlet {

	public void init() {
		// Start
		Log.info("Init Pushlets - version=" + Version.SOFTWARE_VERSION + " built=" + Version.BUILD_DATE);

		EventSourceManager.init();
	}


	public void destroy() {
		Log.info("Exit Pushlets");

	}

}

/*
  * $Log: MainServlet.java,v $
  * Revision 1.2  2003/08/15 08:37:40  justb
  * fix/add Copyright+LGPL file headers and footers
  *
  * Revision 1.1  2003/08/13 13:26:57  justb
  * moved all servlets to servlet package
  *
  *
  */
